package com.stylefeng.guns.rest.modular.auth.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 账号DTO
 *
 * @author 张亚林
 * @Date 2018/11/9 11:00
 */
@Data
@ApiModel(value = "司机端验证DTO",description = "认证的请求dto")
public class DriverInfDto {
    @ApiModelProperty(value="司机手机号",name="phone")
    @NotNull(message = "司机手机号不能为空")
    private String phone;
    @ApiModelProperty(value="原密码",name="opwd")
    @NotNull(message = "原密码不能为空")
    private String opwd;
    @ApiModelProperty(value="新密码",name="npwd")
    @NotNull(message = "新密码不能为空")
    private String npwd;
    @ApiModelProperty(value="操作类型1:找回密码 2:修改密码",name="type")
    @NotNull(message = "操作类型不能为空")
    private Integer type;
    
    
}
